﻿// Copyright (C) 2023 Dylan Cheng (https://github.com/newlooper)
// 
// This file is part of VirtualSpace.
// 
// VirtualSpace is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
// 
// VirtualSpace is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
// 
// You should have received a copy of the GNU General Public License along with VirtualSpace. If not, see <https://www.gnu.org/licenses/>.

namespace VirtualDesktop.Interfaces
{
    public interface IDesktop
    {
        public void MakeVisible();
        public Guid Guid { get; }
    }
    public enum HRESULT :uint
    {
        S_OK = 0x00000000,//操作成功
        E_ABORT = 0x80004004,// 操作已中止
        E_ACCESSDENIED = 0x80070005, //一般性的“访问被拒”错误
        E_FAIL = 0x80004005,//未知故障
        E_HANDLE = 0x80070006, //无效的句柄
        E_INVALIDARG = 0x80070057,//一个或多个参数无效
        E_NOINTERFACE =0x80004002,// 不支持此类接口	
        E_NOTIMPL=0x80004001, //未实现
        E_OUTOFMEMORY = 0x8007000E, //无法分配必要的内存
        E_POINTER = 0x80004003, //无效的指针
        E_UNEXPECTED = 0x8000FFFF, //意外失败
    }
}